*{
    margin: 0;
    padding: 0;
    list-style: none;
}
html,
body {
    width: 100%;
    height: 100%;
}
body {
    position: relative;
    overflow: hidden;
}
.bgbox {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.bgbox:nth-child(1) {
    background: url('./img/1.jpg') no-repeat center/100% 100%;
    opacity: 0;
}
.bgbox:nth-child(2) {
    background: url('./img/2.jpg') no-repeat center/100% 100%;
    opacity: 0;
}
.bgbox:nth-child(3) {
    background: url(./img/3.jpg) no-repeat center/100% 100%;
    opacity: 0;
}
.bgbox:nth-child(4) {
    background: url(./img/4.jpg) no-repeat center/100% 100%;
    opacity: 0;
}
#wrap {
    width: 1090px;
    height: 429px;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0;
    bottom: 0;
    margin: auto;
    box-shadow: 0 0 4px #ddd;
    border-radius: 5px;
    overflow: hidden;
}
#wrap ul {
    width: 120%;
}
#wrap ul li {
    width: 100px;
    height: 429px;
    float: left;
    transition: width .5s;
}
#wrap ul li:nth-child(1) {
    background: url(./img/1.jpg);
}
#wrap ul li:nth-child(2) {
    background: url(./img/2.jpg);
}
#wrap ul li:nth-child(3) {
    background: url(./img/3.jpg);
}
#wrap ul li:nth-child(4) {
    background: url(./img/4.jpg);
    width: 789px;
}
#wrap ul li .text {
    width: 100px;
    height: 429px;
    background: rgba(0, 0, 0, 0.5);
    overflow: hidden;
}
#wrap ul li .text p {
    font-size: 14px;
    font-family: "Microsoft yahei";
    padding: 0 43px;
    color: #fff;
}
